package com.cskaoyan.bean.vo.WxglMallManagementControllerVo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author wxgl
 * @date 2022-12-28 23:50
 * @describe
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class OrderGoodsEntityVo {
    /**
     * productId : 260
     * addTime : 2022-11-25 16:32:07
     * orderId : 314
     * goodsId : 1181013
     * goodsSn : 11111111
     * updateTime : 2022-11-25 16:32:07
     * specifications : ["规格值2"]
     * number : 1
     * picUrl : http://182.92.235.201:8083/wx/storage/fetch/7iu95so66d2takvsvp2h.png
     * deleted : false
     * price : 221.0
     * comment : 0
     * id : 397
     * goodsName : 红茶
     */
    private int productId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    private int orderId;
    private int goodsId;
    private String goodsSn;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private List<String> specifications;
    private int number;
    private String picUrl;
    private boolean deleted;
    private double price;
    private int comment;
    private int id;
    private String goodsName;
}
